package com.xpd.blog.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xpd
 * @since 2024-11-01
 */
@Getter
@Setter
  @TableName("shen")
public class Shen implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "sid", type = IdType.AUTO)
      private Integer sid;

    @TableField("content")
    private String content;

    @TableField("fid")
    private Integer fid;

    @TableField("time")
    private LocalDateTime time;

    @TableField("usid")
    private Integer usid;
    @TableField("flag")
    private String flag;

    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private Userinfo userinfo;

    @TableField(exist = false)
    private Article article;
}
